package com.hey.bigservice.redis.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class MyConfig {

    @Value("${server.port}")
    private int port;
}
